import request from '@/utils/request'
// 获取树
export const gettreelist = () => request.get('pio-microservice-biz/cbm/organization/manage/list')
// 获取树下级
export const gettreexiaji = params => request.get('pio-microservice-biz/cbm/organization/company/list', { params })
// 查询历史告警分页数据
export const getgaojinlistapi = params => request.get('pio-microservice-biz/pio/alarm/history/page', { params })
// 导出历史告警信息列表
export const exportgaojinlistapi = data => request.post('pio-microservice-biz/pio/alarm/history/excel', data, { responseType: 'arraybuffer' })